<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>修改用户</title>
    <link rel="stylesheet" href="../css/style.default.css" type="text/css"/>
    <script type="text/javascript" src="../js/plugins/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.cookie.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.dataTables.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.uniform.min.js"></script>
    <script type="text/javascript" src="../js/custom/general.js"></script>
    <script type="text/javascript" src="../js/custom/tables.js"></script>
    <!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="css/style.ie9.css"/>
    <![endif]-->
    <!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="css/style.ie8.css"/>
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="js/plugins/css3-mediaqueries.js"></script>
    <![endif]-->
</head>

<body class="withvernav">
<div class="bodywrapper">
    <div th:replace="~{common/top::top}"></div>

    <div class="vernav2 iconmenu">
        <ul>
            <li class="current"><a href="#userManage" class="editor">培训管理</a> <span class="arrow"></span>
                <ul id="userManage">
                    <li class="current"><a th:href="@{/educate/trainingchangeADD}">录入培训人员信息</a></li>
                    <!--class="current"选中的黄字特效-->
                    <li><a th:href="@{/educate/trainingchanged}">培训人员信息</a></li>

                </ul>
            </li>

            <li><a href="#support" class="error">技术支持</a> <span class="arrow"></span>
                <ul id="support">
                    <li><a href="../teamName.html" th:href="@{/teamName}">技术团队</a></li>
                    <li><a href="../teamCantact.html" th:href="@{/teamCantact}">联系我们</a></li>

                </ul>
            </li>
        </ul>
        <a class="togglemenu"></a> <br/>
        <br/>
    </div>
    <!--leftmenu-->

    <span class="stdformbutton">
  <input type="reset" class="reset radius2" value="重置"/>
  </span>
    <div class="centercontent">
        <div class="pageheader">
            <h1 class="pagetitle">培训管理</h1>
            <span class="pagedesc">请为新用户添加用户名、密码、角色标识、员工标识</span>
            <!--<ul class="hornav">
              <li class="current"><a href="#basicform">Basic</a></li>
              <li><a href="#validation">Validation</a></li>
            </ul>-->
        </div>
        <!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">
            <div id="basicform" class="subcontent">
                <div class="contenttitle2">
                    <!--<h3>Form Style 1</h3>-->
                </div>
                <!--contenttitle-->

                <form th:action="@{/educate/trainingchangeADD}" class="stdform" method="post" novalidate>
                    <p>
                        <label for="etrainingName">输入培训名称：</label>
                        <span class="field">
            <input type="text" name="etrainingName" class="smallinput"
                   id="etrainingName"
                   th:value="${educate !=null ? educate.etrainingName:''}"/>
            </span>
                        <label th:type="hidden"></label>
                        <span th:text="${errorMessages != null and  errorMessages.containsKey('etrainingName')? errorMessages.etrainingName: ''}">错误信息</span>
                    </p>
                    <p>
                        <label for="etrainingPurpose">输入培训目的：</label>
                        <span class="field">
            <input type="text" name="etrainingPurpose" class="mediuminput"
                   id="etrainingPurpose"
                   th:value="${educate !=null ? educate.etrainingPurpose:''}"/>
            </span>
                    </p>
                    <p>
                        <label for="estartTime">输入开始时间：</label>
                        <span class="field">
            <input type="text" name="estartTime" class="mediuminput"
                   id="estartTime"
                   th:value="${educate !=null ? educate.estartTime:''}"/>
            </span></p>
                    <p>
                        <label for="eendTime">输入结束时间：</label>
                        <span class="field">
            <input type="text" name="eendTime" class="mediuminput"
                   id="eendTime"
                   th:value="${educate !=null ? educate.eendTime:''}"/>
            </span></p>
                    <p>
                        <label for="etrainingMaterials">输入培训材料：</label>
                        <span class="field">
            <input type="text" name="etrainingMaterials" class="mediuminput"
                   id="etrainingMaterials"
                   th:value="${educate !=null ? educate.etrainingMaterials:''}"/>
          </span></p>
                    <p>
                        <label for="etrainingInstructor">输入培训讲师：</label>
                        <span class="field">
            <input type="text" name="etrainingInstructor" class="mediuminput"
                   id="etrainingInstructor"
                   th:value="${educate !=null ? educate.etrainingInstructor:''}"/>
            </span>
                        <label th:type="hidden"></label>
                        <span th:text="${errorMessages != null and  errorMessages.containsKey('etrainingInstructor')? errorMessages.etrainingInstructor: ''}">错误信息</span>
                    </p>
                    <p>
                        <label for="etrainingPersonnel">输入培训人员：</label>
                        <span class="field">
            <input type="text" name="etrainingPersonnel" class="mediuminput"
                   id="etrainingPersonnel"
                   th:value="${educate !=null ? educate.etrainingPersonnel:''}"/>
            </span>
                        <label th:type="hidden"></label>
                        <span th:text="${errorMessages != null and  errorMessages.containsKey('etrainingPersonnel')? errorMessages.etrainingPersonnel: ''}">错误信息</span>
                    </p>
                    <p>
                        <label for="ecreateDate">输入创建时间：</label>
                        <span class="field">
            <input type="text" name="ecreateDate" class="mediuminput"
                   id="ecreateDate"
                   th:value="${educate !=null ? educate.ecreateDate:''}"/>
            </span></p>
                    <!--              <span class="formwrapper">是否完成：-->
                    <!--            <input type="radio" name="radiofield" checked="checked" />-->
                    <!--            是 &nbsp; &nbsp;-->
                    <!--            <input type="radio" name="radiofield" />-->
                    <!--            否 &nbsp; &nbsp;-->
                    <!--            </span>-->
                    <p>
                        <label for="eWheathe">是否完成（是/否）：</label>
                        <span class="field">
            <input type="text" name="eWheathe" class="mediuminput"
                   id="eWheathe"
                   th:value="${educate !=null ? educate.eWheathe:''}"/>
            </span>
                        <label th:type="hidden"></label>
                        <span th:text="${errorMessages != null and  errorMessages.containsKey('eWheathe')? errorMessages.eWheathe: ''}">错误信息</span>
                    </p>
                    <p>
                        <label for="eEffect">输入培训效果：</label>
                        <span class="field">
            <input type="text" name="eEffect" class="mediuminput"
                   id="eEffect"
                   th:value="${educate !=null ? educate.eEffect:''}"/>
            </span></p>
                    <p>
                        <label for="eSummary">输入培训总结：</label>
                        <span class="field">
            <input type="text" name="eSummary" class="mediuminput"
                   id="eSummary"
                   th:value="${educate !=null ? educate.eSummary:''}"/>
            </span></p>
                    <br clear="all"/>
                    <br/>
                    <p class="stdformbutton">
                        <button class="submit radius2">确认添加</button>
                        <input type="reset" class="reset radius2" value="重置"/>
                    </p>
                </form>
                <br/>
                <br/>
            </div>
            <!--subcontent-->

        </div>
        <!--contentwrapper-->

    </div>
    <!-- centercontent -->

</div>
<!--bodywrapper-->
<script>
    $('form.stdform').submit(function (event) {
        //调用表单对象的验证方法，如果验证方法返回true 说明所有的表单域都填写正确。否则返回false
        if (this.checkValidity() === false) {
            $(this).addClass('was-validated')
            return false;
        }
        return true;
    })
</script>
</body>
</html>